package com.lzh.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.Value;

@Data
@ApiModel("登录bean")
public class LoginBean {
    @ApiModelProperty(value = "用户名",required = true)
            @NotBlank(message = "账户名不能为空")
    String account;

    @ApiModelProperty(value = "密码",required = true)
    @NotBlank(message = "密码不能为空")
    String password;
}
